Segment

open inner class Segment

Constructors

Link copied to clipboard
constructor(label: String, portion: Double, color: Color)
Construct a graph segment with the given label, proportion and color
constructor(label: String, portion: Double, color: Color, target: Any)
Construct a graph segment with the given label, proportion, color and target

Properties

Link copied to clipboard
open val color: Color
Link copied to clipboard
open val label: String
Link copied to clipboard
open val target: Any

Functions

Link copied to clipboard
open fun portion(): Double
Link copied to clipboard
open fun toString(): String